.class final Lorg/microemu/cldc/file/FileSystemConnectorImpl$1;
.super Ljava/lang/Object;
.source "FileSystemConnectorImpl.java"

# interfaces
.implements Ljava/security/PrivilegedExceptionAction;


# instance fields
.field private final this$0:Lorg/microemu/cldc/file/FileSystemConnectorImpl;

.field private final val$name:Ljava/lang/String;


# direct methods
.method constructor <init>(Lorg/microemu/cldc/file/FileSystemConnectorImpl;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 69
    iput-object p1, p0, Lorg/microemu/cldc/file/FileSystemConnectorImpl$1;->this$0:Lorg/microemu/cldc/file/FileSystemConnectorImpl;

    iput-object p2, p0, Lorg/microemu/cldc/file/FileSystemConnectorImpl$1;->val$name:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()Ljava/lang/Object;
    .locals 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 71
    new-instance v0, Lorg/microemu/cldc/file/FileSystemFileConnection;

    iget-object v1, p0, Lorg/microemu/cldc/file/FileSystemConnectorImpl$1;->this$0:Lorg/microemu/cldc/file/FileSystemConnectorImpl;

    invoke-static {v1}, Lorg/microemu/cldc/file/FileSystemConnectorImpl;->access$000(Lorg/microemu/cldc/file/FileSystemConnectorImpl;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lorg/microemu/cldc/file/FileSystemConnectorImpl$1;->val$name:Ljava/lang/String;

    const-string v3, "file://"

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lorg/microemu/cldc/file/FileSystemConnectorImpl$1;->this$0:Lorg/microemu/cldc/file/FileSystemConnectorImpl;

    invoke-direct {v0, v1, v2, v3}, Lorg/microemu/cldc/file/FileSystemFileConnection;-><init>(Ljava/lang/String;Ljava/lang/String;Lorg/microemu/cldc/file/FileSystemConnectorImpl;)V

    return-object v0
.end method
